package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品管理对象 goods
 * 
 * @author ruoyi
 * @date 2024-11-27
 */
public class Goods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品ID */
    private Long goodId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodName;

    /** 商品描述 */
    @Excel(name = "商品描述")
    private String description;

    /** 商品图片列表 */
    @Excel(name = "商品图片列表")
    private String images;

    /** 商品价格 */
    @Excel(name = "商品价格")
    private BigDecimal price;

    /** 款式ID */
    @Excel(name = "款式ID")
    private Long styleId;

    /** 商品状态 */
    @Excel(name = "商品状态")
    private String status;

    /** 上下架状态 */
    @Excel(name = "上下架状态")
    private String isOnShelf;

    /** 起订量 */
    @Excel(name = "起订量")
    private Long moq;

    public void setGoodId(Long goodId) 
    {
        this.goodId = goodId;
    }

    public Long getGoodId() 
    {
        return goodId;
    }
    public void setGoodName(String goodName) 
    {
        this.goodName = goodName;
    }

    public String getGoodName() 
    {
        return goodName;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setImages(String images) 
    {
        this.images = images;
    }

    public String getImages() 
    {
        return images;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setStyleId(Long styleId) 
    {
        this.styleId = styleId;
    }

    public Long getStyleId() 
    {
        return styleId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setIsOnShelf(String isOnShelf) 
    {
        this.isOnShelf = isOnShelf;
    }

    public String getIsOnShelf() 
    {
        return isOnShelf;
    }
    public void setMoq(Long moq) 
    {
        this.moq = moq;
    }

    public Long getMoq() 
    {
        return moq;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("goodId", getGoodId())
            .append("goodName", getGoodName())
            .append("description", getDescription())
            .append("images", getImages())
            .append("price", getPrice())
            .append("styleId", getStyleId())
            .append("status", getStatus())
            .append("isOnShelf", getIsOnShelf())
            .append("moq", getMoq())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .toString();
    }
}
